package dao;

import pojo.Room;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomDao {
    int insert(Room room);
    int update(Room room);
    int delete(Integer roomId);
    Room selectById(Integer roomId);
    List<Room> selectAll();
    List<Room> selectByFloor(Integer floor);
    List<Room> selectByDepartId1(Integer departId1);
}